﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>SHOP</title>
		<%@ include file="/share/include.jsp" %>
		<!-- <script src="js/jquery.min.js"></script> -->
   		 <meta name="viewport" content="width=device-width, initial-scale=1">
		 <script type="application/x-javascript"> 
			addEventListener("load", function() { 
				setTimeout(hideURLbar, 0); 
			}, false); 
			function hideURLbar(){ 
				window.scrollTo(0,1); 
			} 
		</script>
	</head>
	<body>
		<!-- container -->
		<!-- header -->
		<div class="header">
			<%@ include file="/control/jsp/layout/header.jsp" %>
			<!-- /bottom-header -->
		</div>
		<!-- header -->
		<!--- top-nav -->
			<%@ include file="/control/jsp/layout/indexMenu.jsp" %>
		<!--- top-nav -->
		<!-- bottom-grids -->
		<div class="bottom-grids collections">
			<div class="container">
				<!-- top-grids -->
				<div class="top-grids">
					<div class="container" style="padding-right: 0;padding-left: 0;">
						<c:if test="${not empty pageView.records }">
		      				<c:forEach items="${pageView.records }" var="shop">
		      				<div class="col-md-4 top-grid text-center">
								<div class="top-grid-pic">
									<img style="width:200px;height:200px;" src="${imageService }${shop.shopLogo}" title="${shop.shopName }" />
									<br>
									<span style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;width: 330px;height: 38px;display: block;">${shop.shopName }</span>
									<p style="text-align: left; padding-left: 20px; padding-top: 5px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;width: 292px;height: 28px;display: block;">ADDRESS：${shop.shopAddress }</p>
								</div>
								<div class="top-grid-pic-info">
									<a href="${root }/control/layoutController/displayShopDetail.do?shopId=${shop.shopId}&${cityValue}">GO SHOP</a>
								</div>
							</div>
		      				</c:forEach>
		      			</c:if>
		      			<c:if test="${empty pageView.records }">
							暂无店铺信息
						</c:if>
						<div class="clearfix"> </div>
					</div>
				</div>
				<!-- top-grids -->
				<div class="clearfix"> </div>
			</div>
			<!--page-->
			<c:if test="${not empty pageView.records }">
			 <%@ include file="/share/pageOne.jsp" %>
			</c:if>
			<!--end page-->
		</div>
		<!-- bottom-grids -->
		<!-- footer -->
		<%@ include file="/control/jsp/layout/footer.jsp" %>
</body>
</html>

